package com.bosssoft.rbac.service;

import com.bosssoft.rbac.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @ProjectName boss-rbac
 * @Description TODO
 * @author MaYunFei
 * @time 2022/7/5 19:26
 */
    public interface SysMenuService extends IService<SysMenu>{

        /**
         * 通过用户的id 查询用户的菜单数据
         * @param userId
         * @return
         */

        List<SysMenu> getMenusByUserId(Long userId);

    }
